package com.yykj.user.center.server.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yykj.user.center.server.model.Exhort;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author chenl
 * @version 1.0
 * @date 2021/11/13 16:45
 */
@Data
public class MedicalRecordInfoDTO {
    private String id;

    @ApiModelProperty("就诊卡对应的名称")
    private String patientName;

    private String sex;

    private LocalDateTime birth;

    private String patientCardNo;

    @ApiModelProperty("订单类型：11、图文问诊 12、语音问诊 13、视频问诊 14、检查订单 15、检验订单")
    private Integer orderType;

    private String deptName;

    private String doctorName;

    @ApiModelProperty("预约日期")
    private LocalDate date;

    @ApiModelProperty("问诊Id")
    private String consultationId;

    @ApiModelProperty("主诉")
    private String chiefComplaint;

    @ApiModelProperty("意见")
    private String opinion;

    @ApiModelProperty("医嘱")
    @Deprecated
    private String exhort;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime addTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime modifyTime;

    private Boolean state=true;

    private String birthday;

    @ApiModelProperty("接诊时间")
    private LocalDateTime receiveTime;

    private String orderNo;

    private LocalDateTime createOrderTime;

    private BigDecimal payAmount;

    private LocalDateTime buyTime;

    @ApiModelProperty("主诉 图片列表")
    private List<String> chiefComplaintImgPath;

    @ApiModelProperty("意见 图片列表")
    private List<String> opinionImgPath;

    @ApiModelProperty("用药医嘱")
    List<Exhort> exhortList;

    @ApiModelProperty("处方ID")
    private String prescriptionId;

}
